#pragma once

#include "IMsgSink.h"

class CMsgSink:public IMsgSink
{
public:
	MsgBubleType OnMsg(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

private:
	MsgBubleType OnNetMsg(WPARAM wParam, LPARAM lParam);

	void OnConnect(WPARAM wParam, LPARAM lParam);
	void OnRecved(WPARAM wParam, LPARAM lParam);
	void OnSendEnable(WPARAM wParam, LPARAM lParam);
	void OnClose(WPARAM wParam, LPARAM lParam);
};
